<#assign base=request.contextPath />
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="${base}/static/jquery-jbox/2.3/Skins/Bootstrap/jbox.min.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="${base}/static/jquery/js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="${base}/static/jquery-jbox/2.3/jquery.jBox-2.3.min.js"></script>
    <title>树数据</title>
    <script type="text/javascript">
        var url;
        function treeSelectClick(url, name) {
            console.log("url:" + url);
           /* $.jBox.open("iframe:${base}/sys/tree?url=" + url, name, 500, 350, {
                        buttons: {'确定': "ok","清除":"clear","关闭":true}, submit: function (v, h, f) {
                            if(v == "ok"){

                            }
                        }
                    }
            );*/
            $.jBox.open("html:" + $("#treeF").html() , name, 500, 350, {
                        buttons: {'确定': "ok","清除":"clear","关闭":true}, submit: function (v, h, f) {
                            if(v == "ok"){

                            }
                        }
                    }
            );
        }
    </script>
</head>
<body>
<div id="treeF" style="display: none">
        <iframe src="${base}/sys/tree?url=${url}" id="treeFrame" name="treeFrame"></iframe>
</div>
</body>
</html>